ValueError: Unable to determine data type for the field "sum(value)"; verify that the field name is not misspelled. If you are referencing a field from a transform, also confirm that the data type is specified correctly.
alt.Chart(...)